﻿
using Bootstrap5.Abstractions;

using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;

namespace Bootstrap5;

[HtmlTag("ul")]
[CssClass("pagination")]
public class Pagination:BootstrapChildContentWithCascadingValueComponentBase<Pagination>
{
    [Parameter] [CssClass("pagination-")] public Size? Size { get; set; }
    protected override void BuildRenderTree(RenderTreeBuilder builder)
    {
        builder.OpenElement(0, "nav");
        builder.AddContent(1, base.BuildRenderTree);
        builder.CloseElement();
    }
}
